//
//  HLTitleModel.h
//  s.
//
//  Created by fanshijian on 2022/8/27.
//  Copyright © 2022 J. All rights reserved.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface TitleModel : BaseModel

/// title font
@property (strong, nonatomic, nullable) UIFont *tf;
/// 字符串、 NSAttribute
@property (copy, nonatomic, nullable) id title;
@property (strong, nonatomic, nullable) NSString *tColor;
@property (nonatomic) NSTextAlignment textAlignment;
@property (copy, nonatomic, nullable) JYMakerBlock titleMakerBlock;

// 背景色
@property (nonatomic, strong, nullable) NSString *color;

// 右侧文本显示属性
@property (strong, nonatomic) UIFont *right_tf;
@property (strong, nonatomic) NSString *right_tColor;
@property (strong, nonatomic) UIColor *right_tCor;
@property (nonatomic) NSTextAlignment right_textAlignment;

@property (strong, nonatomic) id value;
@property (strong, nonatomic) NSString * placeholder;
@property (assign, nonatomic) NSInteger type;
@property (assign, nonatomic) BOOL edit;

+ (TitleModel *)cModelT:(id)t s:(CGSize)s;
+ (TitleModel *)cModelT:(id)t s:(CGSize)s tf:(UIFont * __nullable)tf tc:(NSString * __nullable)tc;
+ (TitleModel *)cModelT:(id)t DetailS:(id)ds s:(CGSize)s;
@end

NS_ASSUME_NONNULL_END
